import axios from "../../../axios";
// 遍历一级标签
export const All = () => {
    return axios.request({
        url:'/shops/home/tag/findAllTags',
    })
}
//主页的遍历二级标签
export const SecondTags = (param) => {
    return axios.request({
        url:'/shops/home/tag/getSecondaryTags',
        params:param
    })
}

// 遍历轮播图的四张图片
export const getShowImg = () => {
    return axios.request({
        url:'/shops/home/show/show/rotation',
    })
}

//轮播图下边的小图片
export const getShowSmall = () => {
    return axios.request({
        url:'/shops/home/show/show/rotation/down',
    })
}

// 商店部分
export const showAll = () => {
    return axios.request({
        url:'/shops/home/show/all',
    })
}


// 退出登录
export const out = () => {
    return axios.request({
        url:'/shops/login_and_register/basic/logout',
        method:'post'   
    })
}



// 预约店铺信息
export const Appointment= (param) =>{
    return axios.request({
        url:'/shops/user/appoint/addAppoint',
        method:'post',
        params:param

    })
}